﻿@{
	ViewBag.Title = "Interlink";
	Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2>
	Interlink - Azure & JavaScript Integration Demo</h2>
<div class="container">
	<div id="silverlightControlHost" class="column">
		<object id="hssCtl" data="data:application/x-silverlight-2," type="application/x-silverlight-2"
			width="500" height="350">
			<param name="source" value="/ClientBin/HSS.Interlink.Client.SL5.TestApp.xap" />
			<param name="background" value="white" />
			<param name="minRuntimeVersion" value="5.0.61118.0" />
			<param name="autoUpgrade" value="true" />
			<param name="initParams" value="mainpage=" />
			<a href="http://go.microsoft.com/fwlink/?LinkID=149156&v=5.0.61118.0" style="text-decoration: none">
				<img src="http://go.microsoft.com/fwlink/?LinkId=161376" alt="Get Microsoft Silverlight"
					style="border-style: none" />
			</a>
		</object>
		<iframe id="_sl_historyFrame" style="visibility: hidden; height: 0px; width: 0px;
			border: 0px"></iframe>
	</div>
	<div id="FileList" class="column">
	</div>
	<div style="clear: both" />
</div>
<br />
<div>
	&nbsp;&nbsp;Status:&nbsp;<span id="UploadState">Ready</span>&nbsp;&nbsp;|&nbsp;&nbsp;<span
		id="TotalUploaded">0</span> of <span id="TotalSelected">0</span> file uploaded.&nbsp;&nbsp;<span
			id="TotalPercentage"></span>
</div>
<div class="container">
	<div class="column">
		<button onclick="UploadAsync();">
			Upload</button>
	</div>
	<div class="column">
		<button onclick="Reset();">
			Reset</button>
	</div>
	<div class="column">
		<button onclick="RemoveAt(0);">
			Remove 1st file</button>
	</div>
	<div class="column">
		<button onclick="RemoveAt(1);">
			Remove 2nd file</button>
	</div>
	<div style="clear: both" />
</div>
<div class="container">
	<div class="column">
		<button onclick="AlertTotalFiles()">
			Alert Count</button></div>
	<div class="column">
		<button onclick="AlertUploadFiles()">
			Alert Uploaded</button></div>
	<div class="column">
		<button onclick="AlertProgressPercentage();">
			Alert Percentage</button></div>
	<div class="column">
		<button onclick="OnlyJPEGFiles();">
			Set Filters = JPEG Files Only</button></div>
	<div style="clear: both" />
</div>
<br />
<br />
